package com.hinotoyk.testsystem.entity;

public class PLQuestion {
    private Integer plQuestionId;

    private String plQuestion;

    private String choiceA;

    private String choiceB;

    private String choiceC;

    private String choiceD;

    private String answer;

    private Integer score;

    private Integer teacherId;

    private Integer difficult;

    public PLQuestion() {
    }

    public PLQuestion(String plQuestion, String choiceA, String choiceB, String choiceC, String choiceD, String answer, Integer score, Integer teacherId, Integer difficult) {
        this.plQuestion = plQuestion;
        this.choiceA = choiceA;
        this.choiceB = choiceB;
        this.choiceC = choiceC;
        this.choiceD = choiceD;
        this.answer = answer;
        this.score = score;
        this.teacherId = teacherId;
        this.difficult = difficult;
    }

    @Override
    public String toString() {
        return "PLQuestion{" +
                "plQuestionId=" + plQuestionId +
                ", plQuestion='" + plQuestion + '\'' +
                ", choiceA='" + choiceA + '\'' +
                ", choiceB='" + choiceB + '\'' +
                ", choiceC='" + choiceC + '\'' +
                ", choiceD='" + choiceD + '\'' +
                ", answer='" + answer + '\'' +
                ", score=" + score +
                ", teacherId=" + teacherId +
                ", difficult=" + difficult +
                '}';
    }

    public Integer getPlQuestionId() {
        return plQuestionId;
    }

    public void setPlQuestionId(Integer plQuestionId) {
        this.plQuestionId = plQuestionId;
    }

    public String getPlQuestion() {
        return plQuestion;
    }

    public void setPlQuestion(String plQuestion) {
        this.plQuestion = plQuestion == null ? null : plQuestion.trim();
    }

    public String getChoiceA() {
        return choiceA;
    }

    public void setChoiceA(String choiceA) {
        this.choiceA = choiceA == null ? null : choiceA.trim();
    }

    public String getChoiceB() {
        return choiceB;
    }

    public void setChoiceB(String choiceB) {
        this.choiceB = choiceB == null ? null : choiceB.trim();
    }

    public String getChoiceC() {
        return choiceC;
    }

    public void setChoiceC(String choiceC) {
        this.choiceC = choiceC == null ? null : choiceC.trim();
    }

    public String getChoiceD() {
        return choiceD;
    }

    public void setChoiceD(String choiceD) {
        this.choiceD = choiceD == null ? null : choiceD.trim();
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getDifficult() {
        return difficult;
    }

    public void setDifficult(Integer difficult) {
        this.difficult = difficult;
    }
}